﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LibNiconico.NiconicoApi.Internal;

namespace LibNiconico.NiconicoApi.Videos.Marquee
{
    /// <summary>
    /// ニコニコ動画Maquee取得問い合わせ情報
    /// </summary>
    public sealed class NicoVideoGetMarqueeQueryInfo:NicoUrlAble
    {
        /// <summary>
        /// 動画番号
        /// </summary>
        public string VideoId { get; set; }

        /// <summary>
        /// コンストラクタ
        /// </summary>
        public NicoVideoGetMarqueeQueryInfo(string id)
        {
            VideoId = id;
        }

        /// <summary>
        /// URLパスとして取得
        /// </summary>
        /// <returns></returns>
        internal override string AsPath()
        {
            return "api/getmarquee";
        }

        /// <summary>
        /// URL問い合わせ文字列として取得
        /// </summary>
        /// <returns></returns>
        internal override string AsQuery()
        {
            return VideoId;
        }
    }
}
